﻿using _8Group.MES.IAppService.ToolType.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace _8Group.MES.IAppService.ToolType
{
    public interface IToolTypeAppService : IApplicationService
    {
        Task<int> AddToolType(CreateToolTypeDto input);

        Task<bool> UpdateToolType(UpdateToolTypeDto input);

        Task<bool> DeleteToolType(int id);

        Task<string> GetToolTypes(string? toolTypeName, string? maintenType, int pageIndex = 1, int pageSize = 10);
    }
}
